package com.goparty.data.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.search.annotations.Indexed;

@XmlRootElement(name = "eventCategory")
@Entity
@Table(name="gp_category")
@Indexed
public class Category {
	@Id
	private String id;
	private String name;
	private String logo;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	@Override
	public String toString() {
		return "Category [id=" + id + ", name=" + name + ", logo=" + logo + "]";
	}
 
}
